package com.shijiu.pojo;

import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.Date;

/**
 * @Author xlj
 * @Date Created in  2023/5/6 17:19
 * @DESCRIPTION:
 * @Version V1.0
 */
@Data
public class Uploader {

   @ApiModelProperty("ID")
   private String id;

   @ApiModelProperty("加密ID")
   private String unionId;

   @ApiModelProperty("文件名称")
   private String name;

   @ApiModelProperty("文件类型")
   private String type;

   @ApiModelProperty("分片数量")
   private Integer chunkNumber;

   @ApiModelProperty("分片目录")
   private String directory;

   @ApiModelProperty("创建时间")
   @JsonFormat(pattern = "yyyy-MM-dd HH:MM:SS", timezone = "GMT+8")
   private Date createTime;
}
